package com.dengc.service;

import com.dengc.pojo.GoodsSupplier;
import com.dengc.pojo.SysRole;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface GoodsSupplierService {

    //查询所有的供货商编号信息
    public List<GoodsSupplier> getAllSuppliercode();

    //分页查询供货商信息
    public PageInfo<GoodsSupplier> getGoodsSupplierByPage(GoodsSupplier goodsSupplier, int pageNum);

    //添加供货商信息
    public int addSupplier(GoodsSupplier goodsSupplier);

    //根据id查询到供货商信息
    public GoodsSupplier getAllGoodsById(Integer id);

    //修改供货商信息
    public int updateSupplier(GoodsSupplier goodsSupplier);

    //删除供货商信息
    public int deletSupplier(Integer id);
}
